package org.example.minsuapi.controller;

import org.example.minsuapi.pojo.layout_num;
import org.example.minsuapi.service.layoutnumService;
import org.example.minsuapi.util.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class layoutnumController {
    @Autowired
    private layoutnumService layoutnumService;
    @GetMapping("/queryAlllayoutnum")
    public ResponseResult<List<layout_num>> queryAlllayoutnum(){
        List<layout_num>pf =layoutnumService.queryAlllayoutnum();
        return new ResponseResult<>("200","查询成功",pf);
    }
}
